192.168.1.253:50358 <= -- PROCESS_FLASH_COMMAND origen 7 accion pickupActive destino park!PARK/DEFAULT!71 password b10550dc42d736fc3540acba940e0a1e VALIDAR USUARIO 5318@GENERAL validate password using key fOkvHyxGIxjt6Vaye2IctwNQqIBKGF VALIDAR USUARIO 5318 OK con clave regular (192.168.1.253:50358) Validation ok, have all permissions for all buttons (0) 7 It's blessed into class FOP2::Extension PICKUP origin IAX2/5318 is defined!!! ++ GET SERVER for IAX2/5318 = localhost 127.0.0.1 -> Action: Originate 127.0.0.1 -> Channel: IAX2/5318 127.0.0.1 -> Exten: 71 127.0.0.1 -> Context: parkedcalls_1 127.0.0.1 -> CallerID: Johann Mobile <71> 127.0.0.1 -> Priority: 1 127.0.0.1 -> Async: True 127.0.0.1 <- Response: Error 127.0.0.1 <- Message: Extension does not exist. TIMER asterisk_ami_connect ** Asterisk Manager logged in localhost for 5 seconds (Sun Jan 25 00:41:10 2015) Flash clients connected: 2 -------------------------------------------------------------------------------------------------- Client 192.168.1.253:50360, user: 5318@GENERAL, type: websocket (AnyEvent::Handle=HASH(0x52575f0)) Client 192.168.1.253:50358, user: 5318@GENERAL, type: websocket (AnyEvent::Handle=HASH(0x4de5320)) -------------------------------------------------------------------------------------------------- 192.168.1.253:50360 <= -- PROCESS_FLASH_COMMAND origen 1 accion ping destino password Executing Client Pre Command Handler for ping pong pong conferencebutton! 127.0.0.1 -> ActionID: 20 Executing Client Pre Command Handler for ping pong pong queuecounter! 192.168.1.253:50360 => { "btn": "0", "cmd": "pong", "data": "CiAgICAgICAgdmFyIHpoID0gZmluZEhpZ2hlc3RaKCk7CiAgICAgICAgdmFyIGZvb3QgPSAkKCJmb290ZX IiKTsKICAgICAgICB2YXIgdGVtcGxhdGUgPSBCYXNlNjQuZGVjb2RlKCJQR1JwZGlCcFpEMGlJM3RwWkgwaVBqeGhJSFJoY21kbGREMGlYMkpzWVc1cklpQm9jbVZtUFNKb2RIUndPaTh2ZD NkM0xtWnZjREl1WTI5dElqNUdU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ldmFsdWF0ZSh7dmVyc2lvbjogY3VycmVudHJlbGVhc2UsIGxpY2 Vuc2U6IGN1cnJlbnRsaWNlbnNlfSksICJhZnRlciIgKTsKICAgICAgICAgICAgfSBlbHNlCiAgICAgICAgICAgIGlmKGRlbW92ZXJzaW9uID09ICIyIikgewogICAgICAgICAgICAgICAgZG 9jdW1lbnQudGl0bGUgPSAiRmxhc2ggT3BlcmF0b3IgUGFuZWwgMiI7CiAgICAgICAgICAgICAgICBmb290LnVwZGF0ZShuZXcgVGVtcGxhdGUodGVtcGxhdGUpLmV2YWx1YXRlKHt2ZXJzaW 9uOiBjdXJyZW50cmVsZWFzZSwgbGljZW5zZTogY3VycmVudGxpY2Vuc2V9KSwgImFmdGVyIiApOwogICAgICAgICAgICB9CiAgICAgICAgICAgIGZvb3Quc3R5bGUudmlzaWJpbGl0eSA9IC J2aXNpYmxlIjsKICAgICAgICAgICAgZm9vdC5zdHlsZS5kaXNwbGF5ID0gImJsb2NrIjsKICAgICAgICAgICAgZm9vdC5zdHlsZS5iYWNrZ3JvdW5kID0gIiNBQUEiOwogICAgICAgICAgIC Bmb290LnN0eWxlLmNvbG9yID0gIiMwMDAiOwogICAgICAgICAgICBmb290LnN0eWxlLmJvdHRvbSA9ICIwIjsKICAgICAgICAgICAgZm9vdC5zdHlsZS5sZWZ0ID0gIjAiOwogICAgICAgIC AgICBmb290LnN0eWxlLnBhZGRpbmdUb3AgPSAiM3B4IjsKICAgICAgICAgICAgZm9vdC5zdHlsZS53aWR0aCA9ICIxMDAlIjsKICAgICAgICAgICAgZm9vdC5zdHlsZS5wb3NpdGlvbiA9IC JmaXhlZCI7CiAgICAgICAgICAgIGZvb3Quc3R5bGUuekluZGV4ID0gIiIremg7CiAgICAgICAgfQogICAg", "slot": "" } 127.0.0.1 <- Response: Error 127.0.0.1 <- ActionID: 20 127.0.0.1 <- Message: Missing action in request ** Llego un response que falta configurar! MISSING ACTION IN REQUEST HASH(0x63741f0) 127.0.0.1 <- Event: RTCPReceived 127.0.0.1 <- Privilege: reporting,all 127.0.0.1 <- From: 93.164.210.133:7075 127.0.0.1 <- PT: 200(Sender Report) 127.0.0.1 <- ReceptionReports: 1 127.0.0.1 <- SenderSSRC: 0 127.0.0.1 <- FractionLost: 0 127.0.0.1 <- PacketsLost: 0 127.0.0.1 <- HighestSequence: 9483 127.0.0.1 <- SequenceNumberCycles: 0 127.0.0.1 <- IAJitter: 185 127.0.0.1 <- LastSR: 117.2066386880823296 127.0.0.1 <- DLSR: 4.3592(sec) 127.0.0.1 <- RTT: 375(sec) 127.0.0.1 <- Event: RTCPSent 127.0.0.1 <- Privilege: reporting,all 127.0.0.1 <- To: 93.164.210.133:7075 127.0.0.1 <- OurSSRC: 270067515 127.0.0.1 <- SentNTP: 1422164474.1888133120 127.0.0.1 <- SentRTP: 243712 127.0.0.1 <- SentPackets: 1503 127.0.0.1 <- SentOctets: 240480 127.0.0.1 <- ReportBlock: 127.0.0.1 <- FractionLost: 0 127.0.0.1 <- CumulativeLoss: 1 127.0.0.1 <- IAJitter: 0.0145 127.0.0.1 <- TheirLastSR: 7997684 127.0.0.1 <- DLSR: 0.2650 (sec) TIMER asterisk_ami_connect ** Asterisk Manager logged in localhost for 10 seconds (Sun Jan 25 00:41:15 2015) Flash clients connected: 2 -------------------------------------------------------------------------------------------------- Client 192.168.1.253:50360, user: 5318@GENERAL, type: websocket (AnyEvent::Handle=HASH(0x52575f0)) Client 192.168.1.253:50358, user: 5318@GENERAL, type: websocket (AnyEvent::Handle=HASH(0x4de5320)) -------------------------------------------------------------------------------------------------- 192.168.1.253:50360 <= -- PROCESS_FLASH_COMMAND origen 1 accion ping destino password Executing Client Pre Command Handler for ping pong pong conferencebutton! 127.0.0.1 -> ActionID: 21 Executing Client Pre Command Handler for ping pong pong queuecounter! 192.168.1.253:50360 => { "btn": "0", "cmd": "pong", "data": "CiAgICAgICAgdmFyIHpoID0gZmluZEhpZ2hlc3RaKCk7CiAgICAgICAgdmFyIGZvb3QgPSAkKCJ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ICBpZihkZW1vdmVyc2lvbiA9PSAiMSIpIHsKICAgICAgICAgICAgICAgIGRvY3VtZW50LnRpdGxlID0gIkZsYXNoIE 9wZXJhdG9yIFBhbmVsIDIiOwogICAgICAgICAgICAgICAgZm9vdC51cGRhdGUobmV3IFRlbXBsYXRlKHRlbXBsYXRlKS5ldmFsdWF0ZSh7dmVyc2lvbjogY3VycmVudHJlbGVhc2UsIGxpY2 Vuc2U6IGN1cnJlbnRsaWNlbnNlfSksICJhZnRlciIgKTsKICAgICAgICAgICAgfSBlbHNlCiAgICAgICAgICAgIGlmKGRlbW92ZXJzaW9uID09ICIyIikgewogICAgICAgICAgICAgICAgZG 9jdW1lbnQudGl0bGUgPSAiRmxhc2ggT3BlcmF0b3IgUGFuZWwgMiI7CiAgICAgICAgICAgICAgICBmb290LnVwZGF0ZShuZXcgVGVtcGxhdGUodGVtcGxhdGUpLmV2YWx1YXRlKHt2ZXJzaW 9uOiBjdXJyZW50cmVsZWFzZSwgbGljZW5zZTogY3VycmVudGxpY2Vuc2V9KSwgImFmdGVyIiApOwogICAgICAgICAgICB9CiAgICAgICAgICAgIGZvb3Quc3R5bGUudmlzaWJpbGl0eSA9IC J2aXNpYmxlIjsKICAgICAgICAgICAgZm9vdC5zdHlsZS5kaXNwbGF5ID0gImJsb2NrIjsKICAgICAgICAgICAgZm9vdC5zdHlsZS5iYWNrZ3JvdW5kID0gIiNBQUEiOwogICAgICAgICAgIC Bmb290LnN0eWxlLmNvbG9yID0gIiMwMDAiOwogICAgICAgICAgICBmb290LnN0eWxlLmJvdHRvbSA9ICIwIjsKICAgICAgICAgICAgZm9vdC5zdHlsZS5sZWZ0ID0gIjAiOwogICAgICAgIC AgICBmb290LnN0eWxlLnBhZGRpbmdUb3AgPSAiM3B4IjsKICAgICAgICAgICAgZm9vdC5zdHlsZS53aWR0aCA9ICIxMDAlIjsKICAgICAgICAgICAgZm9vdC5zdHlsZS5wb3NpdGlvbiA9IC JmaXhlZCI7CiAgICAgICAgICAgIGZvb3Quc3R5bGUuekluZGV4ID0gIiIremg7CiAgICAgICAgfQogICAg", "slot": "" } 127.0.0.1 <- Response: Error 127.0.0.1 <- ActionID: 21 127.0.0.1 <- Message: Missing action in request ** Llego un response que falta configurar! MISSING ACTION IN REQUEST HASH(0x5f7a990) ^C127.0.0.1 -> Action: Logoff 127.0.0.1 -> ActionID: 22 Removing /var/www/html/fop2/fop2-variablesGENERAL.txt... Disconnecting from settings DB Exiting...